<script setup lang="ts">

import {Document, Location, Setting} from "@element-plus/icons-vue";
import router from "../Router";

function toHome(){
  router.push("/home")
}
function toOra(){
  router.push("/organization")
}
function toCreate(){
  router.push("/upload")
}

function toShow(){
  router.push("/showTask")
}
</script>

<template>
  <div class="h-full bg-white fixed select-none">
    <el-col :span="3.5" style="height: 100%;">
      <el-menu
          class="el-menu-vertical-demo"
      >
        <el-menu-item
            index="1"
            @click = "toHome()"
        >
          <template #title>
            <el-icon><location /></el-icon>
            <span>首页</span>
          </template>
        </el-menu-item>
      </el-menu>
    </el-col>

  </div>
</template>

<style scoped>

</style>